3.5.89 \(\int \frac {x^4}{(c+a^2 c x^2)^3 \text {ArcTan}(a x)} \, dx\) [489]

Optimal. Leaf size=50 \[ -\frac {\text {CosIntegral}(2 \text {ArcTan}(a x))}{2 a^5 c^3}+\frac {\text {CosIntegral}(4 \text {ArcTan}(a x))}{8 a^5 c^3}+\frac {3 \log (\text {ArcTan}(a x))}{8 a^5 c^3} \]

[Out]

-1/2*Ci(2*arctan(a*x))/a^5/c^3+1/8*Ci(4*arctan(a*x))/a^5/c^3+3/8*ln(arctan(a*x))/a^5/c^3

________________________________________________________________________________________

Rubi [A]
time = 0.09, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {5090, 3393, 3383} \begin {gather*} -\frac {\text {CosIntegral}(2 \text {ArcTan}(a x))}{2 a^5 c^3}+\frac {\text {CosIntegral}(4 \text {ArcTan}(a x))}{8 a^5 c^3}+\frac {3 \log (\text {ArcTan}(a x))}{8 a^5 c^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^4/((c + a^2*c*x^2)^3*ArcTan[a*x]),x]

[Out]

-1/2*CosIntegral[2*ArcTan[a*x]]/(a^5*c^3) + CosIntegral[4*ArcTan[a*x]]/(8*a^5*c^3) + (3*Log[ArcTan[a*x]])/(8*a
^5*c^3)

Rule 3383

Int[sin[(e_.) + (f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[CosIntegral[e - Pi/2 + f*x]/d, x] /; FreeQ
[{c, d, e, f}, x] && EqQ[d*(e - Pi/2) - c*f, 0]

Rule 3393

Int[((c_.) + (d_.)*(x_))^(m_)*sin[(e_.) + (f_.)*(x_)]^(n_), x_Symbol] :> Int[ExpandTrigReduce[(c + d*x)^m, Sin
[e + f*x]^n, x], x] /; FreeQ[{c, d, e, f, m}, x] && IGtQ[n, 1] && ( !RationalQ[m] || (GeQ[m, -1] && LtQ[m, 1])
)

Rule 5090

Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*(x_)^(m_.)*((d_) + (e_.)*(x_)^2)^(q_), x_Symbol] :> Dist[d^q/c^(m
 + 1), Subst[Int[(a + b*x)^p*(Sin[x]^m/Cos[x]^(m + 2*(q + 1))), x], x, ArcTan[c*x]], x] /; FreeQ[{a, b, c, d,
e, p}, x] && EqQ[e, c^2*d] && IGtQ[m, 0] && ILtQ[m + 2*q + 1, 0] && (IntegerQ[q] || GtQ[d, 0])

Rubi steps

\begin {align*} \int \frac {x^4}{\left (c+a^2 c x^2\right )^3 \tan ^{-1}(a x)} \, dx &=\frac {\text {Subst}\left (\int \frac {\sin ^4(x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{a^5 c^3}\\ &=\frac {\text {Subst}\left (\int \left (\frac {3}{8 x}-\frac {\cos (2 x)}{2 x}+\frac {\cos (4 x)}{8 x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{a^5 c^3}\\ &=\frac {3 \log \left (\tan ^{-1}(a x)\right )}{8 a^5 c^3}+\frac {\text {Subst}\left (\int \frac {\cos (4 x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{8 a^5 c^3}-\frac {\text {Subst}\left (\int \frac {\cos (2 x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{2 a^5 c^3}\\ &=-\frac {\text {Ci}\left (2 \tan ^{-1}(a x)\right )}{2 a^5 c^3}+\frac {\text {Ci}\left (4 \tan ^{-1}(a x)\right )}{8 a^5 c^3}+\frac {3 \log \left (\tan ^{-1}(a x)\right )}{8 a^5 c^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.06, size = 34, normalized size = 0.68 \begin {gather*} \frac {-4 \text {CosIntegral}(2 \text {ArcTan}(a x))+\text {CosIntegral}(4 \text {ArcTan}(a x))+3 \log (\text {ArcTan}(a x))}{8 a^5 c^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^4/((c + a^2*c*x^2)^3*ArcTan[a*x]),x]

[Out]

(-4*CosIntegral[2*ArcTan[a*x]] + CosIntegral[4*ArcTan[a*x]] + 3*Log[ArcTan[a*x]])/(8*a^5*c^3)

________________________________________________________________________________________

Maple [A]
time = 2.12, size = 40, normalized size = 0.80

method result size
derivativedivides \(\frac {\frac {3 \ln \left (\arctan \left (a x \right )\right )}{8 c^{3}}-\frac {\cosineIntegral \left (2 \arctan \left (a x \right )\right )}{2 c^{3}}+\frac {\cosineIntegral \left (4 \arctan \left (a x \right )\right )}{8 c^{3}}}{a^{5}}\) \(40\)
default \(\frac {\frac {3 \ln \left (\arctan \left (a x \right )\right )}{8 c^{3}}-\frac {\cosineIntegral \left (2 \arctan \left (a x \right )\right )}{2 c^{3}}+\frac {\cosineIntegral \left (4 \arctan \left (a x \right )\right )}{8 c^{3}}}{a^{5}}\) \(40\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4/(a^2*c*x^2+c)^3/arctan(a*x),x,method=_RETURNVERBOSE)

[Out]

1/a^5*(3/8*ln(arctan(a*x))/c^3-1/2*Ci(2*arctan(a*x))/c^3+1/8*Ci(4*arctan(a*x))/c^3)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4/(a^2*c*x^2+c)^3/arctan(a*x),x, algorithm="maxima")

[Out]

integrate(x^4/((a^2*c*x^2 + c)^3*arctan(a*x)), x)

________________________________________________________________________________________

Fricas [C] Result contains complex when optimal does not.
time = 1.32, size = 174, normalized size = 3.48 \begin {gather*} \frac {6 \, \log \left (\arctan \left (a x\right )\right ) + \operatorname {log\_integral}\left (\frac {a^{4} x^{4} + 4 i \, a^{3} x^{3} - 6 \, a^{2} x^{2} - 4 i \, a x + 1}{a^{4} x^{4} + 2 \, a^{2} x^{2} + 1}\right ) + \operatorname {log\_integral}\left (\frac {a^{4} x^{4} - 4 i \, a^{3} x^{3} - 6 \, a^{2} x^{2} + 4 i \, a x + 1}{a^{4} x^{4} + 2 \, a^{2} x^{2} + 1}\right ) - 4 \, \operatorname {log\_integral}\left (-\frac {a^{2} x^{2} + 2 i \, a x - 1}{a^{2} x^{2} + 1}\right ) - 4 \, \operatorname {log\_integral}\left (-\frac {a^{2} x^{2} - 2 i \, a x - 1}{a^{2} x^{2} + 1}\right )}{16 \, a^{5} c^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4/(a^2*c*x^2+c)^3/arctan(a*x),x, algorithm="fricas")

[Out]

1/16*(6*log(arctan(a*x)) + log_integral((a^4*x^4 + 4*I*a^3*x^3 - 6*a^2*x^2 - 4*I*a*x + 1)/(a^4*x^4 + 2*a^2*x^2
 + 1)) + log_integral((a^4*x^4 - 4*I*a^3*x^3 - 6*a^2*x^2 + 4*I*a*x + 1)/(a^4*x^4 + 2*a^2*x^2 + 1)) - 4*log_int
egral(-(a^2*x^2 + 2*I*a*x - 1)/(a^2*x^2 + 1)) - 4*log_integral(-(a^2*x^2 - 2*I*a*x - 1)/(a^2*x^2 + 1)))/(a^5*c
^3)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {x^{4}}{a^{6} x^{6} \operatorname {atan}{\left (a x \right )} + 3 a^{4} x^{4} \operatorname {atan}{\left (a x \right )} + 3 a^{2} x^{2} \operatorname {atan}{\left (a x \right )} + \operatorname {atan}{\left (a x \right )}}\, dx}{c^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**4/(a**2*c*x**2+c)**3/atan(a*x),x)

[Out]

Integral(x**4/(a**6*x**6*atan(a*x) + 3*a**4*x**4*atan(a*x) + 3*a**2*x**2*atan(a*x) + atan(a*x)), x)/c**3

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^4/(a^2*c*x^2+c)^3/arctan(a*x),x, algorithm="giac")

[Out]

sage0*x

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {x^4}{\mathrm {atan}\left (a\,x\right )\,{\left (c\,a^2\,x^2+c\right )}^3} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^4/(atan(a*x)*(c + a^2*c*x^2)^3),x)

[Out]

int(x^4/(atan(a*x)*(c + a^2*c*x^2)^3), x)

________________________________________________________________________________________